//
//  SRClassMemberCollectionViewCell.m
//  StoryShow
//
//  Created by CyonLeuMBP on 2017/7/25.
//  Copyright © 2017年 qudiandu.cn. All rights reserved.
//

#import "SRClassMemberCollectionViewCell.h"

NSString *const kSRClassMemberCollectionViewCell = @"SRClassMemberCollectionViewCell";

@implementation SRClassMemberCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    FZStyleSheet *css = [FZStyleSheet currentStyleSheet];
    
    self.iconImageView.iconStyle = FZIconImageViewStyleCircle;
    self.iconImageView.borderWidth = 0;
    
    self.titleLabel.textColor = [UIColor whiteColor];
    self.titleLabel.font = css.fontOfH8;
    
}

- (void)updateCellInfo:(SRClassMemberItemModel *)item {
    [self.iconImageView fz_setAvatarImageWithUrlString:item.avatar];
    self.titleLabel.text = item.nickname;
}

@end
